﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Security;

namespace AspSQLProvider
{
    public class PgMembershipUser : MembershipUser
    {
        private string _nick;
        private string _nombre;
        private string _apellido;
        private int _zonaHorariaId;
        private string _zonaHoraria;

        public PgMembershipUser(string providerName, string name, object providerUserKey, string email, string passwordQuestion, string comment, bool isApproved, bool isLockedOut, DateTime creationDate, DateTime lastLoginDate, DateTime lastActivityDate, DateTime lastPasswordChangedDate, DateTime lastLockoutDate, string nick, string nombre, string apellido, int zonaHorariaId, string zonaHoraria) :
            base(providerName, name, providerUserKey, email, passwordQuestion, comment, isApproved, isLockedOut, creationDate, lastLoginDate, lastActivityDate, lastPasswordChangedDate, lastLockoutDate)
        {
            this._nick = nick;
            this._nombre = nombre;
            this._apellido = apellido;
            this._zonaHorariaId = zonaHorariaId;
            this._zonaHoraria = zonaHoraria;
        }

        public string nick
        {
            get { return _nick; }
            set { _nick = value; }
        }

        public string nombre
        {
            get { return _nombre; }
            set { _nombre = value; }
        }

        public string apellido
        {
            get { return _apellido; }
            set { _apellido = value; }
        }

        public int zonaHorariaId
        {
            get { return _zonaHorariaId; }
            set { _zonaHorariaId = value; }
        }

        public string zonaHoraria
        {
            get { return _zonaHoraria; }
            set { _zonaHoraria = value; }
        }
    }
}
